/**
 * package: seeds
 * author: zhaiyujin
 * description:
 */
package seeds

import (
	"gorm.io/gorm"
	"huanteng/web/models"
)

func SeedRoles(db *gorm.DB)  {
	var  int_1 int=1
	var  uint_1 uint=1
	 s2:=2

	roles:=[]models.Role{
		{Name:"TOP",Sequence:&int_1},
		{Name:"总管理员",Sequence:&s2,ParentID:&uint_1},
	}
	db.Create(&roles)

}
